package com.qf.oa_system.service.impl;

import com.qf.oa_system.entity.StudentSorce;
import com.qf.oa_system.mapper.StudentSocreMapper;
import com.qf.oa_system.service.StudentSorceServic;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class StudentSocreServicImpl implements StudentSorceServic {

    @Resource
    private StudentSocreMapper studentSocreMapper;

    /**
     * 查询所有学生的成绩
     * @return
     */
    @Override
    public List<StudentSorce> queryStudent() {
        List<StudentSorce> student = studentSocreMapper.queryStudent();
        return student;
    }
}
